import request from '@/utils/request'
//民主测评
export function getNodeInfoList(data) {
  return request({
    url: '/gpfPchNodeInfo/list',
    method: 'post',
    data
  })
}

export function createNodeInfo(data) {
  return request({
    url: '/gpfPchNodeInfo/create',
    method: 'post',
    data
  })

}


export function updateNodeInfo(data) {
  return request({
    url: '/gpfPchNodeInfo/update',
    method: 'put',
    data
  })
}

export function updateNodeInfoCr(data) {
  return request({
    url: '/gpfPchNodeInfo/updateCr',
    method: 'put',
    data
  })
}

export function deleteNodeInfo(data) {
  return request({
    url: '/gpfPchNodeInfo/delete?idlist='+data.id+'&status='+data.status,
    method: 'get',
  })
}




